// 该文件用于汇总所有的reducer为一个总的reducer

import {combineReducers} from 'redux'

// 引入Count组件服务的reducer
import count from './count'
// 引入Rerson组件服务的reducer
import persons from './persion'

// 汇总所有的reducer变成一个总的reducer
const allReducer = combineReducers({
    count,
    persons
})

export default allReducer